Posts

Post not yet marked as solved
26 Replies
I have tested this situation. When the user upgrades to 13.2, the online speech recognition time will be very long, which will make the user experience very bad. You can use this code ( SFSpeechAudioBufferRecognitionRequest.Requiresondevicerecognition = YES ) to make speech recognition only request local thesaurus, not online query, which will effectively solve this problem.Unfortunately, I found that some devices such as 'iPod touch 7' and 'ipad Mini 4' are not supported for this kind of local query.So if it's these special devices, I don't know how to solve it, because their online query is very slow, and they are not supported locally.Today, I tested iOS 13.3 beta 3, which has fixed the problem of slow online speech recognition.Two suggestions:1. You can wait for 13.3 to release.2. You can record the voice content as a file, and then identify the file to solve this problem, but this way will be slower.